package net.linlan.commons.core.annotation;

/**
 * 对象类型枚举，数字类型
 */
public enum PlatLogEnum {
    LIST(0,"查询类型"),
    ADD(10,"新增类型"),
    COPY(11,"复制类型"),
    BATCH_ADD(12,"批量新增类型"),
    UPDATE(20,"更新类型"),
    OTUPDATE(21,"外部更新类型"),
    GRAND_DUTY(31,"认领、授权、上架类型"),
    REVOKE_DUTY(32,"取消认领、取消授权、下架类型"),
    DELETE(40,"删除类型"),
    OTHER(50,"其他"),
    IMPORT(51,"导入类型"),
    EXPORT(52,"导出类型"),
    BIND(53,"绑定类型"),
    UNBIND(54,"解绑类型"),
    ;

    /**
     * 配置项名称
     */
    private int key;
    /**
     * 字典值
     */
    private String value;

    PlatLogEnum(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
